3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
You use a boundary-handling method specifier to indicate how you want a shader to handle uv values that are outside the valid range (namely, 0 to 1). For example, you pass one of these constants to the Q3Shader_SetUBoundary function to indicate how to handle values in the u parametric direction that lie outside the valid range.
For a fuller description of boundary-handling methods, see "Handling uv Values Outside the Valid Range" .
typedef enum TQ3ShaderUVBoundary {
kQ3ShaderUVBoundaryWrap,
kQ3ShaderUVBoundaryClamp
} TQ3ShaderUVBoundary;
Previous | QD3D Book | Overview | Chapter Contents | Next |